package com.jinmdz.fmis.api.admin.model.rolerelation;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 角色与用户关联信息请求数据
 *
 * @author LiCongLu
 * @date 2020-03-19 10:34
 */
@ApiModel(value = "角色与用户关联信息请求数据", description = "角色与用户关联信息请求数据")
public class RoleUserRelationSaveData extends BaseBean {
    /**
     * 业务系统角色主键
     */
    @AnValidate(name = "业务系统角色主键", required = true)
    @ApiModelProperty(value = "业务系统角色主键", name = "businessSystemRoleId", position = 1)
    private Integer businessSystemRoleId;

    /**
     * 系统用户主键
     */
    @AnValidate(name = "系统用户主键", required = true)
    @ApiModelProperty(value = "系统用户主键", name = "systemUserId", position = 2)
    private Integer systemUserId;

    public Integer getBusinessSystemRoleId() {
        return businessSystemRoleId;
    }

    public RoleUserRelationSaveData setBusinessSystemRoleId(Integer businessSystemRoleId) {
        this.businessSystemRoleId = businessSystemRoleId;
        return this;
    }

    public Integer getSystemUserId() {
        return systemUserId;
    }

    public RoleUserRelationSaveData setSystemUserId(Integer systemUserId) {
        this.systemUserId = systemUserId;
        return this;
    }
}
